#include <iostream>
using namespace std;

class A{
    public:
       double height = 1.74;
        void say(void);
        double getHeight(){
            return this->height;
        }
        A(){
             cout<<"process start!"<<endl;
        }
        //析构函数
        ~A(){
            cout<<"process end!"<<endl;
        }
};
void A :: say(){
    cout<<"say"<<endl;
}
class A1 : public A{

};
int main(){
    A1 a1;
    a1.say();

    cout<<a1.height<<endl;
    cout<<a1.getHeight()<<endl;
    return 0;
}